<%--
  Created by IntelliJ IDEA.
  User: ss
  Date: 2019/12/4
  Time: 14:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
<%--    引入css文件和js文件--%>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css">  <!--图片css-->
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>   <!--jq.js-->
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>

</head>
<body>


<script type="text/javascript">
    //就绪函数
    $(function(){
        // $.messager.alert("警告","警告信息!","info"); //alert提示框
        //confirm提示框
        // $.messager.confirm("确认","你确认退出吗?",function (o) {
        //     if (o){
        //         console.log("确认!")
        //     }
        // });
        // $.messager.progress({
        //     title:'进度条',
        //     mag:'进度条提示信息',
        //     text:'进度条显示的文本'
        // })
        $.messager.show({
            width:400,
            height:300,
            title:'我的消息',
            msg:'欢迎登陆成功',
            timeout:5000,
            showType:'slide',
            style:{
                right:'',
                top:document.body.scrollTop+document.documentElement.scrollTop,
                bottom:''
            }
        })

    })
</script>
</body>
</html>
